package com.toman.JavaBean;



import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * 车间日计划的关联表
 * 
 * @author toman
 * @email sunlightcs@gmail.com
 * @date 2018-11-12 09:56:31
 */
public class DeviceHouseDayPlanMappingEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;
	/**
	 * 日计划ID
	 */
	private Long dayPlanId;
	/**
	 * 产线ID
	 */
	private Long beltlineId;
	/**
	 * 计划产量
	 */
	private Integer planOutput;

	private String beltlineNum;

	private String beltlineName;

	/**
	 * 系统采集产量
	 */
	private Integer reportOutput;

	/**
	 * 完成率
	 */
	private String completeRate;

	/**
	 * 设置：
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：日计划ID
	 */
	public void setDayPlanId(Long dayPlanId) {
		this.dayPlanId = dayPlanId;
	}
	/**
	 * 获取：日计划ID
	 */
	public Long getDayPlanId() {
		return dayPlanId;
	}
	/**
	 * 设置：产线ID
	 */
	public void setBeltlineId(Long beltlineId) {
		this.beltlineId = beltlineId;
	}
	/**
	 * 获取：产线ID
	 */
	public Long getBeltlineId() {
		return beltlineId;
	}
	/**
	 * 设置：计划产量
	 */
	public void setPlanOutput(Integer planOutput) {
		this.planOutput = planOutput;
	}
	/**
	 * 获取：计划产量
	 */
	public Integer getFinishCount() {
		return finishCount;
	}

	public void setFinishCount(Integer finishCount) {
		this.finishCount = finishCount;
	}

	/**
	 * 完工数

	 */
	private Integer finishCount;
	public Integer getPlanOutput() {
		return planOutput;
	}

	public String getBeltlineNum() {
		return beltlineNum;
	}

	public void setBeltlineNum(String beltlineNum) {
		this.beltlineNum = beltlineNum;
	}

	public String getBeltlineName() {
		return beltlineName;
	}

	public void setBeltlineName(String beltlineName) {
		this.beltlineName = beltlineName;
	}

	public Integer getReportOutput() {
		return reportOutput;
	}

	public void setReportOutput(Integer reportOutput) {
		this.reportOutput = reportOutput;
	}

	public String getCompleteRate() {
		return completeRate;
	}

	public void setCompleteRate(String completeRate) {
		this.completeRate = completeRate;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		DeviceHouseDayPlanMappingEntity entity = (DeviceHouseDayPlanMappingEntity) o;
		return Objects.equals(beltlineId, entity.beltlineId);
	}

	@Override
	public int hashCode() {

		return Objects.hash(beltlineId);
	}
}
